package com.jiang.lianxi;

public class QiangZhuan {
    public static void main(String[] args) {
        //一个数的强转
        double  a = 10.23;
        byte b = (byte) a;
        System.out.println(b);
        //两个数相加的强转
        double  c = 10.23;
        int d = 20;
        byte result = (byte)(c + d);
        System.out.println(result);
    }
}
